-
Home
-
GTM Kit – Google Tag Manager & GA4 integration
-
1.6.1
-
Code
-
Classes
- Frontend
Total Complexity |
27 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
206 |
Lines of code |
117 |
Logical lines of code |
54 |
Comment lines |
49 |
Methods |
11 |
Properties |
2 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
register() |
S |
54 |
6 |
19 |
get_header_script() |
S |
50 |
4 |
35 |
get_gtm_script() |
S |
64 |
3 |
9 |
dns_prefetch() |
S |
67 |
3 |
7 |
get_datalayer_content() |
S |
61 |
2 |
12 |
__construct() |
S |
74 |
2 |
4 |
get_attributes() |
S |
65 |
2 |
8 |
get_body_script() |
S |
70 |
2 |
5 |
get_header_datalayer() |
S |
65 |
1 |
10 |
container_disabled() |
S |
81 |
1 |
3 |
wp_rocket_exclude_javascript() |
S |
74 |
1 |
5 |